<!-- body -->
    <div id="hover-tip"></div>
    <div id="report">
        <p class="icolor">举报类型</p>
        <label><input type="checkbox" value="0">低俗色情</label>
        <label><input type="checkbox" value="1">垃圾广告</label>
        <label><input type="checkbox" value="2">辱骂攻击</label>
        <label><input type="checkbox" value="3">其他违法信息</label>
        <p class="icolor">举报理由</p>
        <textarea id="reason"></textarea>
        <p class="r"><span class="btn btn-default" id="cancle">取消</span><span class="btn btn-default" id="sure">提交</span></p>
    </div>
    <div class="container nav-margin-top">
        <ol class="breadcrumb">
            <li><a href="/nsbbs/">首页</a></li>
            <li><a href="zone.php">版面目录</a></li>
            <li><a href="list.php?zid=<?php echo $module['zid']?>"><?php echo htmlspecialchars($module['zname'])?></a></li>
        </ol>
        <ul class="list-group">
            <li class="list-group-item list-header">
                <a href="module.php?mid=<?php echo $module['mid']?>">&laquo;返回本版</a>
                <?php if(!$isMain){ ?>
                    <a href="details.php?cid=<?php echo $cont_data[0]['cid']?>" class="r tomain">查看主题帖</a>
                <?php } ?>
            </li>
            <li class="list-group-item">
                <!-- post title -->
                <div class="content-title">
                    <?php echo htmlspecialchars($isExist['title'])?>
                    
                </div>
            </li>
            <li class="list-group-item main">
            <div id="meng">
                <div id="showimg">
                    <img src="" class="pic-scale">
                </div>
            </div>
                <!-- post main -->
<?php   $i = ($_GET['page']-1)*PAGE_SIZE;
        $lou_id = $isExist['uid'];
        foreach($cont_data as $cont_item){ 
    
?>   
                <div class="post-item">
                    <div class="user-info">
                        <a href="userinfo.php?uid=<?php echo $cont_item['uid']?>"><img src="<?php echo PHOTO_PATH.$cont_item['photo']?>" class="img-yuan-x36 photo"></a>
                        <div>
                            <div class="author">
                                <span class="user"><?php echo $cont_item['user']?></span>
                                <span><?php echo $cont_item['nick']?></span>
                                <div class="lou bf-12">
                        <?php 
                            if($cont_item['uid'] == $lou_id){
                                echo '[楼主]';
                        }?>
                                    <?php echo ++$i?>楼
                                </div>
                            </div>
                            <div class="bf-12">
                                <?php echo $cont_item['time']?>      
                            </div>
                        </div>
                    </div>
                    <div class="post-content <?php if($i==1 && $do){echo $bdclass;}?>">
                        <?php echo $cont_item['body']?>
                        <?php if($cont_item['reply']){?>
                                <div class="reply-body color-959595">
                                    <p>
                                        <span class="reply-name"><?php echo $cont_item['reply']['user'].' ('.$cont_item['reply']['nick'].')'?></span> 在 ta 的帖子中提到：
                                    </p>
                                    <?php echo $cont_item['reply']['body']?>
                                </div>
                        <?php } ?>
                    </div>
                   <?php if($cont_item['file']){ ?>
                            <div class="post-attachment">
                                <b></b>
                                <ul>
                    <?php  foreach($cont_item['file'] as $file_item){ ?>
                                <li class="attachment-img">
                                    <img src="<?php echo IMG_PATH.$file_item?>">
                                </li>
                    <?php } ?>
                                </ul>
                            </div>
                    <?php } ?>
                    <ul class="post-action clearfix">
                        <li><a href="publish.php?w=reply&c=<?php echo $_GET['cid']?>&r=<?php echo $cont_item['id']?>">回复</a></li>
                        <li><a href="selfmail.php?to=<?php echo $cont_item['uid']?>">私信</a></li>
                        <li><span class="icolor rep" id="<?php echo $cont_item['id']?>">举报</span></li>
                    </ul>
                </div>
<?php } ?> 
            </li>
            <li class="list-group-item page-btn">
                <ul class="pagination">
                    <?php echo $page['html']?>
                </ul>
            </li>
        </ul>
    </div>

  </body>
  <script  src="public/js/jquery.min.js"></script>
  <script  src="public/js/my-bootstrap.min.js"></script>
  <script async src="public/js/details.phone.js"></script>
</html>
